package com.example.alibabanacosdiscoveryclient01.mapper;

import com.example.alibabanacosdiscoveryclient01.entity.BookEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface BookMapper {
    List<BookEntity> list();
    int  batchInsert(List<BookEntity> list);

    List<BookEntity> findByName(String name);
    List<BookEntity> findByType(String type);
    List<BookEntity> findByAuthor(String author);
}
